package com.reflection.bean;

/**
 * Administrator
 *
 * @author jiangbang
 * @date 2016/8/30
 */
public class User {

    private int id;
    private int age;
    private String uname;
    public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id = id;
    }
    public int getAge() {
        return age;
    }
    public void setAge(int age) {
        this.age = age;
    }
    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public void setUname() {
        this.uname = "高淇";
    }

    public User(int id, int age, String uname) {
        super();
        this.id = id;
        this.age = age;
        this.uname = uname;
    }

    //javabean必须要有无参的构造方法！
    public User() {
    }
}
